package com.example.orderminiappapi.dao;

import com.example.orderminiappapi.bean.Comment;
import com.example.orderminiappapi.bean.Shop;
import com.example.orderminiappapi.bean.ShopTag;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface CommentAndTagDao {
    List<Comment> getOneShopComment(Shop shop);         //  获取某个商店的评论

    List<ShopTag> getOneShopTag(Shop shop);             //  获取某个商店的tag列表
}
